package com.sojson.util.mail;

/**
 * 邮件模板类，可添加多个模板
 * 
 * @author Liu
 *
 */
public enum MailTemplate {

    /**
     * 测试
     */
    TEST("test", "test"), VERIFY_CODE("【自在商城】获取验证码", "您的验证码是：%s");

    /** 标题 */
    private String title;
    /** 内容 */
    private String content;

    MailTemplate() {}

    MailTemplate(String title, String content) {
        this.title = title;
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

}